package com.perceptivesoftware.licensing.dao;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.perceptivesoftware.licensing.dao.generated.TwRoleprivDAO;
import com.perceptivesoftware.licensing.domain.generated.TwRolepriv;

@Repository
public class TwRoleprivDaoExt extends TwRoleprivDAO
{

	@Autowired
	TwRolevalDaoExt nlRolevalDaoExt;

	public List<TwRolepriv> findByRoleId(final String roleId)
	{
		return findByProperty("twRoleval", nlRolevalDaoExt.findById(roleId));
	}
}
